.timeline {
	display:none;
	background:url(../images/timeline-bgr.png) repeat-x top;
	border-top:2px solid #ff971b;
}

.timelineLoader {
	width:100%;
	text-align:center;
	padding:150px 0;
}

.loadLoader {
	display:none;
	
	width:100%;
	height:550px;
	position:fixed;
	top:163px;
	background: rgba(255,255,255,0.9) url(../images/loader.gif) no-repeat center center;
	z-index:15000;
}

/* fixed line holder */
.timeline .timeline_line {
	margin-top:0px;
	margin-bottom:0;
	width:920px;
}


/* full (including months that are not shown) line holder */
.timeline .t_line_holder {
	height:120px;
}

/* 2 months are stored in one view */
.timeline .t_line_view {
	height:120px;
	width:920px;
	overflow:hidden;
}

/* holder for year number */
.timeline h3.t_line_year {
	margin:0;
}

/* holder for 1 month (constist of nodes and month caption) - we use borders to separate months thats why it has width 2px less then 50% */
.timeline .t_line_m {
	margin-top:60px;
	height:10px;
	width:458px;
	border-left:1px solid #ccc;
	border-right:1px solid #ccc;
}

/* month on the right side - has left set at 459 so border would overlap border from first element (to evade duplicated borders) */
.timeline .t_line_m.right {
	left:459px;
	width:459px;
}

/* month caption */
.timeline.tech h4.t_line_month {
	display:block;
}

.timeline h4.t_line_month {
	margin:-38px 0 0;
	color:#999;
	display:none;
}

/* used in responsive layout when only one month is shown (it is span containing year) */
.t_line_month_year {
	
}

/* node on the timeline */
.timeline a.t_line_node {
	text-decoration:none;
	padding:38px 0 0px;
	height:10px;
	font-size:12px;
	top:-15px;
	background:url('../images/dot.png') no-repeat center 20px;
	color:#333333;
}
.timeline a.t_line_node:hover {
	background:url('../images/dot-rollover.png') no-repeat center 20px;
}
.timeline a.t_line_node.active {
	background:url('../images/dot-selected.png') no-repeat center 20px;
	z-index:10000;
}

.timeline.tech a.t_line_node {
	color:#fff;
}

/* node description */
.timeline .t_node_desc {
	background: rgba(255,255,255,0.5);
	bottom:25px;
	left:49%;
	color:#999;
	padding:3px 5px;
	border:1px solid #ccc;
	border-radius:3px;
	width:100px;
	line-height:1.1em;
	text-align:left;
}
.timeline .t_line_node.active .t_node_desc,
.timeline .t_node_desc:hover {
	background: rgba(255,255,255,1);
	border:1px solid #bbb;
	color:#777;
}

/* descriptions on right side go from right to left */
.timelineLight .t_line_m.right .t_node_desc {
	right:0;
}

/* line arrow left */
.timeline #t_line_left {
	cursor:pointer;
	left:-30px;
	top:30px;
	width:14px;
	height:19px;
	background:url('../images/arrow.png') no-repeat left bottom;
	display:none;
}

.timeline #t_line_left:hover {
	background:url('../images/arrow.png') no-repeat left top;
}

/* line arrow right */
.timeline #t_line_right {
	cursor:pointer;
	right:-30px;
	top:30px;
	width:14px;
	height:19px;
	background:url('../images/arrow.png') no-repeat right bottom;
	display:none;
}

.timeline #t_line_right:hover {
	background:url('../images/arrow.png') no-repeat right top;
}

/* items container */
.timeline .timeline_items {
	padding:0;
}

/* single item (margines set from javascript) */
.timeline .item {
	height:265px;
	text-align:center;
	background:#666; 
	color:#fff;
	cursor:pointer;
	width:320px;
	overflow:hidden;
	margin-top:70px;
	
	-webkit-box-shadow: 2px 2px 6px 0px rgba(50, 50, 50, 0.6);
	-moz-box-shadow:    2px 2px 6px 0px rgba(50, 50, 50, 0.6);
	box-shadow:         2px 2px 6px 0px rgba(50, 50, 50, 0.6);
}

.timeline .active {
	background:#333;
}

/* ----- content - non-plugin elements ----- */
.timeline .item:hover,
.timeline .item.item_node_hover {
	background:#333;
}

.timeline .item > div {
	background-size:cover;
	background-position:center center;
	width:100%;
	float:left;
	height:87%;
}

.timeline .item .zoom {
	position:absolute;
	top:0;
	left:0;
	display:none;
	width:100%;
	height:87%;
	background:rgba(255,255,255,0.4) url(../images/search.png) no-repeat center center;
}


.background > * {
    z-index: 10;
}

#popup {
	position:fixed;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background:rgba(0,0,0,0.8);
	z-index:100000000;
	display:none;
}

#popup img {
	max-width:90%;
	max-height:90%;
	
}

#popup:after {
	content:'X';
	position:absolute;
	top:0;
	right:0;
	width:60px;
	height:60px;
	z-index:1000000000;
	background:#fff;
	color:#333;
	font-weight:bold;
	text-align:center;
	line-height:60px;
	font-size:40px;
	cursor:pointer;
}



.timeline .item img {
}
.timeline .item h2 {
	color:#fff;
	font-size:18px;
	line-height:30px;
	margin:0;
}
.timeline .item.active h2 {
	color:#fff;
	font-size:18px;
	line-height:50px;
	margin:0;
}


.timeline .item span{
	display:block;
	margin:0 20px;
	font-size:12px;
	line-height:1.2em;
}
/* ----------------------------------------- */

/* item details (margines set from javascript) */
.timeline .item_open {
	height:400px;
	background:#666; 
	color:#fff;
	width:520px;
}

/* item details content wrapper (used for animation - shuld have same width as .item_open) */
.timeline .item_open_cwrapper {
	width:520px;
	height:400px;
}

/* ----- content - non-plugin elements ----- */
.timeline .timeline_open_content {
	padding:20px;
	margin-left:70px;
}

.timeline .item_open h2 {
	margin-top:10px;
	padding-top:0;
	font-size:28px;
	color:#fff;
}

.timeline .item_open .t_close {
	position:absolute;
	top:10px;
	right:10px;
	padding:2px 8px 2px 10px;
	font-size:16px;
	color:#dddddd;
	background: rgba(0,0,0,0.25);
	cursor:pointer;
}
.timeline .item_open .t_close:hover {
	color:#ffffff;
}
/* ----------------------------------------- */

/* left/right controles */

.timeline_items_wrapper {
	position:relative;
	height:400px;
	
}
.timeline .t_controles {
	text-align:center;
	position:absolute;
	top:115px;
	width:100%;
	z-index:10000;
}
.timeline .t_left,
.timeline .t_right {
	display:inline-block;
	height:50px;
	width:29px;
	margin:10px;
	cursor:pointer;
	position:absolute;
	z-index:10000;
	top:165px;
}
.timeline .t_left,
.timeline .t_left:hover:active {
	background: url('../images/big-arrow.png') no-repeat left bottom;
	left:0;
}
.timeline .t_left:hover {
	background: url('../images/big-arrow.png') no-repeat left top;
}

.timeline .t_right,
.timeline .t_right:hover:active {
	background: url('../images/big-arrow.png') no-repeat right bottom;
	right:0;
}

.timeline .t_right:hover {
	background: url('../images/big-arrow.png') no-repeat right top;
}


/* -----------------------------------------------------------------------*/
/* ------------------------------ RESPONSIVE -----------------------------*/
/* -----------------------------------------------------------------------*/



/* --- 768px --- */
@media screen and (max-width:950px) {
	
	.timeline .timeline_line {
		width:728px;
	}
	
	.timeline .t_line_view {
		width:728px;
	}
	
	.timeline .t_line_m {
		width: 362px;
	}
	.timeline .t_line_m.right {
		left: 363px;
		width: 363px;
	}
}


/* --- 610px --- */
@media screen and (max-width:760px) {
	
	.timeline .timeline_line {
		width:570px;
	}
	
	.timeline .t_line_view {
		width:1140px;
	}
	
	.timeline .t_line_m {
		width: 568px;
	}
	.timeline .t_line_m.right {
		left: 570px;
		width: 568px;
	}
	.timeline .t_line_year {
		opacity:0;
		filter:alpha(opacity=0)
	}
	.timeline .t_line_month_year {
		display:inline;
	}
	
	.timeline .t_node_desc {
		width:120px;
	}
	.timelineLight .t_line_m.right .t_node_desc {
		right:auto;
		left:0;
	}
}


/* --- 300px --- */
@media screen and (max-width:600px) {
	
	.timeline {
		display:none;
		background:none;
		padding-top:20px;
		border-top:2px solid #ff971b;
	}
	
	.timeline .timeline_line {
		width:260px;
		display:none;
	}
	
	.timeline .t_left,
	.timeline .t_right {
		display:none;
	}
	
	.timeline .t_line_view {
		width:520px;
		
	}
	
	.timeline .t_line_m {
		width: 258px;
	}
	.timeline .t_line_m.right {
		left: 260px;
		width: 258px;
	}
	
	.timeline .item_open {
		width:290px;
		height:390px;
		
	}
	.timeline .item_open_cwrapper {
		width:290px;
	}
}




